projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19726a5
)
combobox: Remove autoscroll timer on popdown
author
Benjamin Otte
<otte@redhat.com>
Sun, 19 Jul 2015 16:31:33 +0000
(18:31 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Tue, 21 Jul 2015 00:28:53 +0000
(
02:28
+0200)
gtk/gtkcombobox.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcombobox.c
b/gtk/gtkcombobox.c
index 773e5409b48b9fb3802cddb11a12108ea46d85c4..a81b341dd691d27ce4109b38ca7ff06ec2bd45e8 100644
(file)
--- a/
gtk/gtkcombobox.c
+++ b/
gtk/gtkcombobox.c
@@
-2502,6
+2502,12
@@
gtk_combo_box_popdown (GtkComboBox *combo_box)
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (priv->button),
FALSE);
+ if (priv->scroll_timer)
+ {
+ g_source_remove (priv->scroll_timer);
+ priv->scroll_timer = 0;
+ }
+
priv->grab_pointer = NULL;
priv->grab_keyboard = NULL;
}